package com.aaa.stock.service.purch;

import com.aaa.entity.Purchase;
import com.aaa.stock.vo.ExamineVo;
import com.aaa.stock.vo.PurchaseVo;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface PurchaseService extends IService<Purchase> {
    Result<IPage<Purchase>> purchaseAll(Integer currentPage, Integer pageSize, PurchaseVo purchaseVo);
    //作废、审核通过、提交审核
    Result<String> SubConPass(String status, List<Purchase> purchase);

    Result<String> newPurQuery();

    Result<String> ItemPass(String status, String purchaseId);

    Result<String> ItemNoPass(String status, String purchaseId, String examine);

}
